FROM java:8
EXPOSE 8080
VOLUME /tmp
ADD docker-demo-0.0.1-SNAPSHOT.jar  /app.jar
ENTRYPOINT ["java","-jar","/app.jar"]